package com.yue92.datalife.repository;

import com.yue92.datalife.model.RecordItemExtra;
import org.springframework.data.jpa.repository.JpaRepository;

import java.util.List;

public interface RecordItemExtraRepository extends JpaRepository<RecordItemExtra, Long> {

    List<RecordItemExtra> getAllByRecordItemIdOrderByRecordDateAsc(Long recordItemId);

    Boolean existsByRecordItemId(Long recordItemId);
}
